<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.List"%>
<%@ page import="tw.com.msig.b2c.car.setting.vo.SysparamVo"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/layout/meta.jsp" />
</head>
<body>
	<div id="header">
		<jsp:include page="/layout/header.jsp" />
	</div>
	<div id="navigator">
		<jsp:include page="/layout/navigator.jsp" />
	</div>
	<div id="container">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">系統參數管理 &gt; 系統參數修改</h3>
			</div>
			<div class="panel-body">
				<form id="form" class="form-horizontal"
					action="<%=request.getContextPath()%>/settings/sysparam.do?sActionType=update" method="post">
					<input type="hidden" name="id" value="${sysparam.id}" />
					<div class="form-group">
						<label for="code" class="col-sm-1 control-label">代號</label>
						<div class="col-sm-11">						     
							 ${sysparam.code}
							 <span
								class="help-block"><span class="text-danger"></span></span>
						</div>
					</div>
					<div class="form-group">
						<label for="desc" class="col-sm-1 control-label">說明</label>
						<div class="col-sm-11">
							<input type="text" title="要輸入正確的說明喔!" class="form-control"
								id="desc" name="desc" placeholder="請輸入說明" value="${sysparam.desc}"> <span
								class="help-block"><span class="text-danger"></span></span>
						</div>						
					</div>					
					<div class="form-group">
						<label for="value" class="col-sm-1 control-label">數值</label>
						<div class="col-sm-11">
							<input type="text" title="要輸入正確的數值喔!" class="form-control"
								id="value" name="value" placeholder="請輸入數值" value="${sysparam.value}"> <span
								class="help-block"><span class="text-danger"></span></span>
						</div>						
					</div>	
					<button id="submitBtn" class="btn btn-primary btn-lg">修改</button>
					<a href="<%=request.getContextPath()%>/settings/sysparam.do?sActionType=list"
						class="btn btn-warning btn-lg">回到列表</a>
				</form>
			</div>
		</div>

	</div>
</body>
</html>